package com.mdhw.device.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mdhw.device.entity.MiliOpenDoorLog;
import com.mdhw.device.vo.MiliOpenDoorLogVo;
import com.mdhw.system.vo.SysUserExchangeJifenLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
* @author times
* @description 针对表【mili_open_door_log】的数据库操作Mapper
* @createDate 2025-04-15 16:28:57
* @Entity com.mdhw.device.entity.MiliOpenDoorLog
*/
@Mapper
@Repository
public interface MiliOpenDoorLogDao extends BaseMapper<MiliOpenDoorLog> {

    int deleteByPrimaryKey(Long id);

    int insert(MiliOpenDoorLog record);

    int insertSelective(MiliOpenDoorLog record);

    MiliOpenDoorLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MiliOpenDoorLog record);

    int updateByPrimaryKey(MiliOpenDoorLog record);

    IPage<MiliOpenDoorLogVo> selectMiliOpenDoorLogPage(IPage<MiliOpenDoorLogVo> page, @Param(Constants.WRAPPER) QueryWrapper<MiliOpenDoorLogVo> modlvQw);
}
